import request from "@/utils/request"

export function queryDeviceGradeList(data) {
  return request({
    url: "/bDeviceGrade/queryDeviceGradeList",
    method: "get",
    params: data
  })
}

export function queryOneDeviceGradeMain(data) {
  return request({
    url: "/bDeviceGrade/queryOneDeviceGradeMain",
    method: "get",
    params: data
  })
}

export function queryDeviceGradeMainPage(data) {
  return request({
    url: "/bDeviceGrade/queryDeviceGradeMainPage",
    method: "get",
    params: data
  })
}

export function addAndUpdateHandDeviceGradeInit(data) {
  return request({
    url: "/bDeviceGrade/addAndUpdateHandDeviceGradeInit",
    method: "post",
    data: data
  })
}

export function deleteDeviceGradeMain(data) {
  return request({
    url: "/bDeviceGrade/deleteDeviceGradeMain",
    method: "post",
    data: data
  })
}
